<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <HEAD>
<TITLE>幼儿园云平台登录</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<LINK rel="shortcut icon" type=image/x-icon href="favicon.ico" media=screen>
<LINK rel=ICON href="favicon.ico">
<LINK rel=stylesheet type=text/css href="./css/stylelo.css">
<LINK rel=stylesheet type=text/css href="./css/reset2.css">
<LINK rel=stylesheet type=text/css href="./css/table_form.css">
<SCRIPT type=text/javascript src="../js/jquery.min.js"></SCRIPT>
<SCRIPT type=text/javascript src="../js/cookie.js"></SCRIPT>
<SCRIPT type=text/javascript src="../js/member_common.js"></SCRIPT>
<SCRIPT type=text/javascript src="../js/dialog.js"></SCRIPT>
<SCRIPT type=text/javascript charset=UTF-8 src="../js/formvalidator.js"></SCRIPT>
<SCRIPT type=text/javascript charset=UTF-8 src="../js/formvalidatorregex.js"></SCRIPT>
<META name=GENERATOR content="MSHTML 8.00.7600.17267"></HEAD>
<BODY>
<STYLE type=text/css>
.blue {
	COLOR: #377abe
}
.blue A {
	COLOR: #377abe
}
.log {
	LINE-HEIGHT: 24px; FLOAT: right; HEIGHT: 24px; FONT-SIZE: 12px
}
.log SPAN {
	COLOR: #ced9e7
}
.log A {
	COLOR: #049; TEXT-DECORATION: none
}
.log A:hover {
	TEXT-DECORATION: underline
}
.form-login {
	WIDTH: 440px
}
.form-login H2 {
	BORDER-BOTTOM: #ccc 1px dashed; PADDING-BOTTOM: 3px; MARGIN-BOTTOM: 10px; COLOR: #494949; FONT-SIZE: 25px
}
.form-login .input {
	PADDING-BOTTOM: 4px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 4px
}
.form-login .input LABEL {
	TEXT-ALIGN: right; WIDTH: 84px; COLOR: #888; FONT-SIZE: 14px
}
.take {
	PADDING-BOTTOM: 0px; PADDING-LEFT: 84px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
.reg {
	PADDING-BOTTOM: 0px; PADDING-LEFT: 84px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
.take .submit {
	MARGIN-TOP: 10px
}
.form-login .hr {
	BACKGROUND: url(images/line.png) no-repeat left center; HEIGHT: 50px
}
.form-login .hr HR {
	DISPLAY: none
}
</STYLE>

<SCRIPT language=JavaScript>
<!--
$(function(){
	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
	$("#username").formValidator({onshow:"请输入用户名",onfocus:"应该为2-20位之间"}).inputValidator({min:2,max:20,onerror:"应该为2-20位之间"}).regexValidator({regexp:"ps_username",datatype:"enum",onerror:"用户名格式错误"});
	$("#password").formValidator({onshow:"请输入密码",onfocus:"密码应该为6-20位之间"}).inputValidator({min:6,max:20,onerror:"密码应该为6-20位之间"});

});
//-->

</SCRIPT>

<div id="container">
	<div id="top"><img src="images/top.jpg" alt="幼儿园云平台登录 智能化信息服务">
	</div>
	<div id="content">
		<div id="login">
			<div id="loginpart">
			<div>
			<div class="col-left form-login" id="logindiv" style=" margin-left:60px; margin-top:40px">
			<form method="post" action="login/user.do" onsubmit="save_username();" id="myform" name="myform">
					<div class="input">
						<label>&nbsp;&nbsp;&nbsp;登陆名：</label><input id="username" name="username" size="22" class="input-text" type="text">
					<div class="onError" id="usernameTip">应该为2-20位之间</div></div>
					
					<div class="input">
						<label>登陆密码：</label><input id="password" name="password" size="22" class="input-text" type="password">
					<div class="onShow" id="passwordTip">请输入密码</div></div>
					<div class="input">
						<label>&nbsp;&nbsp;&nbsp;验证码：</label><input id="code" name="code" size="8" class="input-text" type="text"><img id="code_img" onclick='this.src=this.src+"&amp;"+Math.random()' src="images/api.png">					</div>
				<div class="a3"><input name="cookietime" value="2592000" id="cookietime" type="checkbox"> <font style="color:#666666">记住用户名</font>
				</div>	
				<div class="buttons">
				<input name="dosubmit" id="dosubmit" class="submits" value="" type="submit">&nbsp;&nbsp;<a href="http://www.childyun.com/index.php?m=member&amp;c=index&amp;a=register&amp;siteid=1"><img src="images/button_register.png" alt="注册" border="0" hspace="10"></a> </div>
			</form>
		</div>
	</div>
</div>
			<div id="icons"><a href="javascript:download('childcloudparent.apk')"><img src="images/icon_android.png" alt="android客户端下载" border="0" hspace="5"></a>&nbsp;<a href="https://itunes.apple.com/cn/app/you-er-yun/id585158815?mt=8" target="_blank"><img src="images/icon_iphone.png" alt="iphone客户端下载" border="0" hspace="5"></a> 
			</div>
		</div>
	</div>
	<div id="buttom">
		<div id="buttom_menu">'<a href="http://www.childyun.com/index.php?m=member&amp;c=index&amp;a=women">关于我们</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.childyun.com/index.php?m=member&amp;c=index&amp;a=links">联系方式</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.childyun.com/index.php?m=member&amp;c=index&amp;a=copyright">版权声明</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.childyun.com/index.php?m=member&amp;c=index&amp;a=cooperate">合作方式</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;京ICP备11040787号-3	</div>
	</div>
</div>
<SCRIPT language=JavaScript>

	$(function(){
		$('#username').focus();
	})

	function save_username() {
		if($('#cookietime').attr('checked')==true) {
			var username = $('#username').val();
			setcookie('username', username, 3);
		} else {
			delcookie('username');
		}
	}
	var username = getcookie('username');
	if(username != '' && username != null) {
		$('#username').val(username);
		$('#cookietime').attr('checked',true);
	}
	function download(file){
		window.location.href="index.php?a=downloads&filename="+file;
	}
</SCRIPT>
<div class="" style="display: none; position: absolute;"><div class="aui_outer"><table class="aui_border"><tbody><tr><td class="aui_nw"></td><td class="aui_n"></td><td class="aui_ne"></td></tr><tr><td class="aui_w"></td><td class="aui_c"><div class="aui_inner"><table class="aui_dialog"><tbody><tr><td colspan="2" class="aui_header"><div class="aui_titleBar"><div style="cursor: move;" class="aui_title"></div><a class="aui_close" href="javascript:/*artDialog*/;">×</a></div></td></tr><tr><td style="display: none;" class="aui_icon"><div style="background: none repeat scroll 0% 0% transparent;" class="aui_iconBg"></div></td><td style="width: auto; height: auto;" class="aui_main"><div style="padding: 20px 25px;" class="aui_content"></div></td></tr><tr><td colspan="2" class="aui_footer"><div style="display: none;" class="aui_buttons"></div></td></tr></tbody></table></div></td><td class="aui_e"></td></tr><tr><td class="aui_sw"></td><td class="aui_s"></td><td style="cursor: se-resize;" class="aui_se"></td></tr></tbody></table></div></div></body></html>
